package com.sofwin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_user")
public class User {
    @TableId(value = "u_id",type = IdType.AUTO)
    private Integer uId;

    @TableField("u_name")
    private String uName;
    @TableField("password")
    private String password;
    @TableField("phone")
    private String phone;
    @TableField("u_c_id")
    private Integer uCId;
    @TableField("u_s_id")
    private Integer uSId;
    @TableField("u_p_id")
    private Integer uPId;
    @TableField("industry")
    private Integer industry;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getuCId() {
        return uCId;
    }

    public void setuCId(Integer uCId) {
        this.uCId = uCId;
    }

    public Integer getuSId() {
        return uSId;
    }

    public void setuSId(Integer uSId) {
        this.uSId = uSId;
    }

    public Integer getuPId() {
        return uPId;
    }

    public void setuPId(Integer uPId) {
        this.uPId = uPId;
    }

    public Integer getIndustry() {
        return industry;
    }

    public void setIndustry(Integer industry) {
        this.industry = industry;
    }
}
